package com.mz3co.sysadmin.model;

import com.mz3co.sysadmin.page.Page;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SysEmployeeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public SysEmployeeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andEmployeeIdIsNull() {
            addCriterion("employee_id is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIsNotNull() {
            addCriterion("employee_id is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdEqualTo(Integer value) {
            addCriterion("employee_id =", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotEqualTo(Integer value) {
            addCriterion("employee_id <>", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdGreaterThan(Integer value) {
            addCriterion("employee_id >", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("employee_id >=", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdLessThan(Integer value) {
            addCriterion("employee_id <", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdLessThanOrEqualTo(Integer value) {
            addCriterion("employee_id <=", value, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdIn(List<Integer> values) {
            addCriterion("employee_id in", values, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotIn(List<Integer> values) {
            addCriterion("employee_id not in", values, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdBetween(Integer value1, Integer value2) {
            addCriterion("employee_id between", value1, value2, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("employee_id not between", value1, value2, "employeeId");
            return (Criteria) this;
        }

        public Criteria andEmployeeNameIsNull() {
            addCriterion("employee_name is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeNameIsNotNull() {
            addCriterion("employee_name is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeNameEqualTo(String value) {
            addCriterion("employee_name =", value, "employeeName");
            return (Criteria) this;
        }

        public Criteria andEmployeeNameNotEqualTo(String value) {
            addCriterion("employee_name <>", value, "employeeName");
            return (Criteria) this;
        }

        public Criteria andEmployeeNameGreaterThan(String value) {
            addCriterion("employee_name >", value, "employeeName");
            return (Criteria) this;
        }

        public Criteria andEmployeeNameGreaterThanOrEqualTo(String value) {
            addCriterion("employee_name >=", value, "employeeName");
            return (Criteria) this;
        }

        public Criteria andEmployeeNameLessThan(String value) {
            addCriterion("employee_name <", value, "employeeName");
            return (Criteria) this;
        }

        public Criteria andEmployeeNameLessThanOrEqualTo(String value) {
            addCriterion("employee_name <=", value, "employeeName");
            return (Criteria) this;
        }

        public Criteria andEmployeeNameLike(String value) {
            addCriterion("employee_name like", value, "employeeName");
            return (Criteria) this;
        }

        public Criteria andEmployeeNameNotLike(String value) {
            addCriterion("employee_name not like", value, "employeeName");
            return (Criteria) this;
        }

        public Criteria andEmployeeNameIn(List<String> values) {
            addCriterion("employee_name in", values, "employeeName");
            return (Criteria) this;
        }

        public Criteria andEmployeeNameNotIn(List<String> values) {
            addCriterion("employee_name not in", values, "employeeName");
            return (Criteria) this;
        }

        public Criteria andEmployeeNameBetween(String value1, String value2) {
            addCriterion("employee_name between", value1, value2, "employeeName");
            return (Criteria) this;
        }

        public Criteria andEmployeeNameNotBetween(String value1, String value2) {
            addCriterion("employee_name not between", value1, value2, "employeeName");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("sex is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("sex is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(String value) {
            addCriterion("sex =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(String value) {
            addCriterion("sex <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(String value) {
            addCriterion("sex >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(String value) {
            addCriterion("sex >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(String value) {
            addCriterion("sex <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(String value) {
            addCriterion("sex <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLike(String value) {
            addCriterion("sex like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotLike(String value) {
            addCriterion("sex not like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<String> values) {
            addCriterion("sex in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<String> values) {
            addCriterion("sex not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(String value1, String value2) {
            addCriterion("sex between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(String value1, String value2) {
            addCriterion("sex not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andIdentifierIsNull() {
            addCriterion("identifier is null");
            return (Criteria) this;
        }

        public Criteria andIdentifierIsNotNull() {
            addCriterion("identifier is not null");
            return (Criteria) this;
        }

        public Criteria andIdentifierEqualTo(String value) {
            addCriterion("identifier =", value, "identifier");
            return (Criteria) this;
        }

        public Criteria andIdentifierNotEqualTo(String value) {
            addCriterion("identifier <>", value, "identifier");
            return (Criteria) this;
        }

        public Criteria andIdentifierGreaterThan(String value) {
            addCriterion("identifier >", value, "identifier");
            return (Criteria) this;
        }

        public Criteria andIdentifierGreaterThanOrEqualTo(String value) {
            addCriterion("identifier >=", value, "identifier");
            return (Criteria) this;
        }

        public Criteria andIdentifierLessThan(String value) {
            addCriterion("identifier <", value, "identifier");
            return (Criteria) this;
        }

        public Criteria andIdentifierLessThanOrEqualTo(String value) {
            addCriterion("identifier <=", value, "identifier");
            return (Criteria) this;
        }

        public Criteria andIdentifierLike(String value) {
            addCriterion("identifier like", value, "identifier");
            return (Criteria) this;
        }

        public Criteria andIdentifierNotLike(String value) {
            addCriterion("identifier not like", value, "identifier");
            return (Criteria) this;
        }

        public Criteria andIdentifierIn(List<String> values) {
            addCriterion("identifier in", values, "identifier");
            return (Criteria) this;
        }

        public Criteria andIdentifierNotIn(List<String> values) {
            addCriterion("identifier not in", values, "identifier");
            return (Criteria) this;
        }

        public Criteria andIdentifierBetween(String value1, String value2) {
            addCriterion("identifier between", value1, value2, "identifier");
            return (Criteria) this;
        }

        public Criteria andIdentifierNotBetween(String value1, String value2) {
            addCriterion("identifier not between", value1, value2, "identifier");
            return (Criteria) this;
        }

        public Criteria andEmployeeDepartmentIsNull() {
            addCriterion("employee_department is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeDepartmentIsNotNull() {
            addCriterion("employee_department is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeDepartmentEqualTo(Integer value) {
            addCriterion("employee_department =", value, "employeeDepartment");
            return (Criteria) this;
        }

        public Criteria andEmployeeDepartmentNotEqualTo(Integer value) {
            addCriterion("employee_department <>", value, "employeeDepartment");
            return (Criteria) this;
        }

        public Criteria andEmployeeDepartmentGreaterThan(Integer value) {
            addCriterion("employee_department >", value, "employeeDepartment");
            return (Criteria) this;
        }

        public Criteria andEmployeeDepartmentGreaterThanOrEqualTo(Integer value) {
            addCriterion("employee_department >=", value, "employeeDepartment");
            return (Criteria) this;
        }

        public Criteria andEmployeeDepartmentLessThan(Integer value) {
            addCriterion("employee_department <", value, "employeeDepartment");
            return (Criteria) this;
        }

        public Criteria andEmployeeDepartmentLessThanOrEqualTo(Integer value) {
            addCriterion("employee_department <=", value, "employeeDepartment");
            return (Criteria) this;
        }

        public Criteria andEmployeeDepartmentIn(List<Integer> values) {
            addCriterion("employee_department in", values, "employeeDepartment");
            return (Criteria) this;
        }

        public Criteria andEmployeeDepartmentNotIn(List<Integer> values) {
            addCriterion("employee_department not in", values, "employeeDepartment");
            return (Criteria) this;
        }

        public Criteria andEmployeeDepartmentBetween(Integer value1, Integer value2) {
            addCriterion("employee_department between", value1, value2, "employeeDepartment");
            return (Criteria) this;
        }

        public Criteria andEmployeeDepartmentNotBetween(Integer value1, Integer value2) {
            addCriterion("employee_department not between", value1, value2, "employeeDepartment");
            return (Criteria) this;
        }

        public Criteria andEmployeeDutiesIsNull() {
            addCriterion("employee_duties is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeDutiesIsNotNull() {
            addCriterion("employee_duties is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeDutiesEqualTo(String value) {
            addCriterion("employee_duties =", value, "employeeDuties");
            return (Criteria) this;
        }

        public Criteria andEmployeeDutiesNotEqualTo(String value) {
            addCriterion("employee_duties <>", value, "employeeDuties");
            return (Criteria) this;
        }

        public Criteria andEmployeeDutiesGreaterThan(String value) {
            addCriterion("employee_duties >", value, "employeeDuties");
            return (Criteria) this;
        }

        public Criteria andEmployeeDutiesGreaterThanOrEqualTo(String value) {
            addCriterion("employee_duties >=", value, "employeeDuties");
            return (Criteria) this;
        }

        public Criteria andEmployeeDutiesLessThan(String value) {
            addCriterion("employee_duties <", value, "employeeDuties");
            return (Criteria) this;
        }

        public Criteria andEmployeeDutiesLessThanOrEqualTo(String value) {
            addCriterion("employee_duties <=", value, "employeeDuties");
            return (Criteria) this;
        }

        public Criteria andEmployeeDutiesLike(String value) {
            addCriterion("employee_duties like", value, "employeeDuties");
            return (Criteria) this;
        }

        public Criteria andEmployeeDutiesNotLike(String value) {
            addCriterion("employee_duties not like", value, "employeeDuties");
            return (Criteria) this;
        }

        public Criteria andEmployeeDutiesIn(List<String> values) {
            addCriterion("employee_duties in", values, "employeeDuties");
            return (Criteria) this;
        }

        public Criteria andEmployeeDutiesNotIn(List<String> values) {
            addCriterion("employee_duties not in", values, "employeeDuties");
            return (Criteria) this;
        }

        public Criteria andEmployeeDutiesBetween(String value1, String value2) {
            addCriterion("employee_duties between", value1, value2, "employeeDuties");
            return (Criteria) this;
        }

        public Criteria andEmployeeDutiesNotBetween(String value1, String value2) {
            addCriterion("employee_duties not between", value1, value2, "employeeDuties");
            return (Criteria) this;
        }

        public Criteria andWorkGroupIsNull() {
            addCriterion("work_group is null");
            return (Criteria) this;
        }

        public Criteria andWorkGroupIsNotNull() {
            addCriterion("work_group is not null");
            return (Criteria) this;
        }

        public Criteria andWorkGroupEqualTo(String value) {
            addCriterion("work_group =", value, "workGroup");
            return (Criteria) this;
        }

        public Criteria andWorkGroupNotEqualTo(String value) {
            addCriterion("work_group <>", value, "workGroup");
            return (Criteria) this;
        }

        public Criteria andWorkGroupGreaterThan(String value) {
            addCriterion("work_group >", value, "workGroup");
            return (Criteria) this;
        }

        public Criteria andWorkGroupGreaterThanOrEqualTo(String value) {
            addCriterion("work_group >=", value, "workGroup");
            return (Criteria) this;
        }

        public Criteria andWorkGroupLessThan(String value) {
            addCriterion("work_group <", value, "workGroup");
            return (Criteria) this;
        }

        public Criteria andWorkGroupLessThanOrEqualTo(String value) {
            addCriterion("work_group <=", value, "workGroup");
            return (Criteria) this;
        }

        public Criteria andWorkGroupLike(String value) {
            addCriterion("work_group like", value, "workGroup");
            return (Criteria) this;
        }

        public Criteria andWorkGroupNotLike(String value) {
            addCriterion("work_group not like", value, "workGroup");
            return (Criteria) this;
        }

        public Criteria andWorkGroupIn(List<String> values) {
            addCriterion("work_group in", values, "workGroup");
            return (Criteria) this;
        }

        public Criteria andWorkGroupNotIn(List<String> values) {
            addCriterion("work_group not in", values, "workGroup");
            return (Criteria) this;
        }

        public Criteria andWorkGroupBetween(String value1, String value2) {
            addCriterion("work_group between", value1, value2, "workGroup");
            return (Criteria) this;
        }

        public Criteria andWorkGroupNotBetween(String value1, String value2) {
            addCriterion("work_group not between", value1, value2, "workGroup");
            return (Criteria) this;
        }

        public Criteria andWorkGroupDutiesIsNull() {
            addCriterion("work_group_duties is null");
            return (Criteria) this;
        }

        public Criteria andWorkGroupDutiesIsNotNull() {
            addCriterion("work_group_duties is not null");
            return (Criteria) this;
        }

        public Criteria andWorkGroupDutiesEqualTo(String value) {
            addCriterion("work_group_duties =", value, "workGroupDuties");
            return (Criteria) this;
        }

        public Criteria andWorkGroupDutiesNotEqualTo(String value) {
            addCriterion("work_group_duties <>", value, "workGroupDuties");
            return (Criteria) this;
        }

        public Criteria andWorkGroupDutiesGreaterThan(String value) {
            addCriterion("work_group_duties >", value, "workGroupDuties");
            return (Criteria) this;
        }

        public Criteria andWorkGroupDutiesGreaterThanOrEqualTo(String value) {
            addCriterion("work_group_duties >=", value, "workGroupDuties");
            return (Criteria) this;
        }

        public Criteria andWorkGroupDutiesLessThan(String value) {
            addCriterion("work_group_duties <", value, "workGroupDuties");
            return (Criteria) this;
        }

        public Criteria andWorkGroupDutiesLessThanOrEqualTo(String value) {
            addCriterion("work_group_duties <=", value, "workGroupDuties");
            return (Criteria) this;
        }

        public Criteria andWorkGroupDutiesLike(String value) {
            addCriterion("work_group_duties like", value, "workGroupDuties");
            return (Criteria) this;
        }

        public Criteria andWorkGroupDutiesNotLike(String value) {
            addCriterion("work_group_duties not like", value, "workGroupDuties");
            return (Criteria) this;
        }

        public Criteria andWorkGroupDutiesIn(List<String> values) {
            addCriterion("work_group_duties in", values, "workGroupDuties");
            return (Criteria) this;
        }

        public Criteria andWorkGroupDutiesNotIn(List<String> values) {
            addCriterion("work_group_duties not in", values, "workGroupDuties");
            return (Criteria) this;
        }

        public Criteria andWorkGroupDutiesBetween(String value1, String value2) {
            addCriterion("work_group_duties between", value1, value2, "workGroupDuties");
            return (Criteria) this;
        }

        public Criteria andWorkGroupDutiesNotBetween(String value1, String value2) {
            addCriterion("work_group_duties not between", value1, value2, "workGroupDuties");
            return (Criteria) this;
        }

        public Criteria andEmployeeCellPhoneIsNull() {
            addCriterion("employee_cell_phone is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeCellPhoneIsNotNull() {
            addCriterion("employee_cell_phone is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeCellPhoneEqualTo(String value) {
            addCriterion("employee_cell_phone =", value, "employeeCellPhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeCellPhoneNotEqualTo(String value) {
            addCriterion("employee_cell_phone <>", value, "employeeCellPhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeCellPhoneGreaterThan(String value) {
            addCriterion("employee_cell_phone >", value, "employeeCellPhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeCellPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("employee_cell_phone >=", value, "employeeCellPhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeCellPhoneLessThan(String value) {
            addCriterion("employee_cell_phone <", value, "employeeCellPhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeCellPhoneLessThanOrEqualTo(String value) {
            addCriterion("employee_cell_phone <=", value, "employeeCellPhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeCellPhoneLike(String value) {
            addCriterion("employee_cell_phone like", value, "employeeCellPhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeCellPhoneNotLike(String value) {
            addCriterion("employee_cell_phone not like", value, "employeeCellPhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeCellPhoneIn(List<String> values) {
            addCriterion("employee_cell_phone in", values, "employeeCellPhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeCellPhoneNotIn(List<String> values) {
            addCriterion("employee_cell_phone not in", values, "employeeCellPhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeCellPhoneBetween(String value1, String value2) {
            addCriterion("employee_cell_phone between", value1, value2, "employeeCellPhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeCellPhoneNotBetween(String value1, String value2) {
            addCriterion("employee_cell_phone not between", value1, value2, "employeeCellPhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeOfficePhoneIsNull() {
            addCriterion("employee_office_phone is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeOfficePhoneIsNotNull() {
            addCriterion("employee_office_phone is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeOfficePhoneEqualTo(String value) {
            addCriterion("employee_office_phone =", value, "employeeOfficePhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeOfficePhoneNotEqualTo(String value) {
            addCriterion("employee_office_phone <>", value, "employeeOfficePhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeOfficePhoneGreaterThan(String value) {
            addCriterion("employee_office_phone >", value, "employeeOfficePhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeOfficePhoneGreaterThanOrEqualTo(String value) {
            addCriterion("employee_office_phone >=", value, "employeeOfficePhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeOfficePhoneLessThan(String value) {
            addCriterion("employee_office_phone <", value, "employeeOfficePhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeOfficePhoneLessThanOrEqualTo(String value) {
            addCriterion("employee_office_phone <=", value, "employeeOfficePhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeOfficePhoneLike(String value) {
            addCriterion("employee_office_phone like", value, "employeeOfficePhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeOfficePhoneNotLike(String value) {
            addCriterion("employee_office_phone not like", value, "employeeOfficePhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeOfficePhoneIn(List<String> values) {
            addCriterion("employee_office_phone in", values, "employeeOfficePhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeOfficePhoneNotIn(List<String> values) {
            addCriterion("employee_office_phone not in", values, "employeeOfficePhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeOfficePhoneBetween(String value1, String value2) {
            addCriterion("employee_office_phone between", value1, value2, "employeeOfficePhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeOfficePhoneNotBetween(String value1, String value2) {
            addCriterion("employee_office_phone not between", value1, value2, "employeeOfficePhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeQqIsNull() {
            addCriterion("employee_QQ is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeQqIsNotNull() {
            addCriterion("employee_QQ is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeQqEqualTo(String value) {
            addCriterion("employee_QQ =", value, "employeeQq");
            return (Criteria) this;
        }

        public Criteria andEmployeeQqNotEqualTo(String value) {
            addCriterion("employee_QQ <>", value, "employeeQq");
            return (Criteria) this;
        }

        public Criteria andEmployeeQqGreaterThan(String value) {
            addCriterion("employee_QQ >", value, "employeeQq");
            return (Criteria) this;
        }

        public Criteria andEmployeeQqGreaterThanOrEqualTo(String value) {
            addCriterion("employee_QQ >=", value, "employeeQq");
            return (Criteria) this;
        }

        public Criteria andEmployeeQqLessThan(String value) {
            addCriterion("employee_QQ <", value, "employeeQq");
            return (Criteria) this;
        }

        public Criteria andEmployeeQqLessThanOrEqualTo(String value) {
            addCriterion("employee_QQ <=", value, "employeeQq");
            return (Criteria) this;
        }

        public Criteria andEmployeeQqLike(String value) {
            addCriterion("employee_QQ like", value, "employeeQq");
            return (Criteria) this;
        }

        public Criteria andEmployeeQqNotLike(String value) {
            addCriterion("employee_QQ not like", value, "employeeQq");
            return (Criteria) this;
        }

        public Criteria andEmployeeQqIn(List<String> values) {
            addCriterion("employee_QQ in", values, "employeeQq");
            return (Criteria) this;
        }

        public Criteria andEmployeeQqNotIn(List<String> values) {
            addCriterion("employee_QQ not in", values, "employeeQq");
            return (Criteria) this;
        }

        public Criteria andEmployeeQqBetween(String value1, String value2) {
            addCriterion("employee_QQ between", value1, value2, "employeeQq");
            return (Criteria) this;
        }

        public Criteria andEmployeeQqNotBetween(String value1, String value2) {
            addCriterion("employee_QQ not between", value1, value2, "employeeQq");
            return (Criteria) this;
        }

        public Criteria andEmailIsNull() {
            addCriterion("email is null");
            return (Criteria) this;
        }

        public Criteria andEmailIsNotNull() {
            addCriterion("email is not null");
            return (Criteria) this;
        }

        public Criteria andEmailEqualTo(String value) {
            addCriterion("email =", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotEqualTo(String value) {
            addCriterion("email <>", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThan(String value) {
            addCriterion("email >", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThanOrEqualTo(String value) {
            addCriterion("email >=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThan(String value) {
            addCriterion("email <", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThanOrEqualTo(String value) {
            addCriterion("email <=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLike(String value) {
            addCriterion("email like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotLike(String value) {
            addCriterion("email not like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailIn(List<String> values) {
            addCriterion("email in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotIn(List<String> values) {
            addCriterion("email not in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailBetween(String value1, String value2) {
            addCriterion("email between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotBetween(String value1, String value2) {
            addCriterion("email not between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andFaxIsNull() {
            addCriterion("fax is null");
            return (Criteria) this;
        }

        public Criteria andFaxIsNotNull() {
            addCriterion("fax is not null");
            return (Criteria) this;
        }

        public Criteria andFaxEqualTo(String value) {
            addCriterion("fax =", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotEqualTo(String value) {
            addCriterion("fax <>", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxGreaterThan(String value) {
            addCriterion("fax >", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxGreaterThanOrEqualTo(String value) {
            addCriterion("fax >=", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxLessThan(String value) {
            addCriterion("fax <", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxLessThanOrEqualTo(String value) {
            addCriterion("fax <=", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxLike(String value) {
            addCriterion("fax like", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotLike(String value) {
            addCriterion("fax not like", value, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxIn(List<String> values) {
            addCriterion("fax in", values, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotIn(List<String> values) {
            addCriterion("fax not in", values, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxBetween(String value1, String value2) {
            addCriterion("fax between", value1, value2, "fax");
            return (Criteria) this;
        }

        public Criteria andFaxNotBetween(String value1, String value2) {
            addCriterion("fax not between", value1, value2, "fax");
            return (Criteria) this;
        }

        public Criteria andEmployeeStatusIsNull() {
            addCriterion("employee_status is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeStatusIsNotNull() {
            addCriterion("employee_status is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeStatusEqualTo(String value) {
            addCriterion("employee_status =", value, "employeeStatus");
            return (Criteria) this;
        }

        public Criteria andEmployeeStatusNotEqualTo(String value) {
            addCriterion("employee_status <>", value, "employeeStatus");
            return (Criteria) this;
        }

        public Criteria andEmployeeStatusGreaterThan(String value) {
            addCriterion("employee_status >", value, "employeeStatus");
            return (Criteria) this;
        }

        public Criteria andEmployeeStatusGreaterThanOrEqualTo(String value) {
            addCriterion("employee_status >=", value, "employeeStatus");
            return (Criteria) this;
        }

        public Criteria andEmployeeStatusLessThan(String value) {
            addCriterion("employee_status <", value, "employeeStatus");
            return (Criteria) this;
        }

        public Criteria andEmployeeStatusLessThanOrEqualTo(String value) {
            addCriterion("employee_status <=", value, "employeeStatus");
            return (Criteria) this;
        }

        public Criteria andEmployeeStatusLike(String value) {
            addCriterion("employee_status like", value, "employeeStatus");
            return (Criteria) this;
        }

        public Criteria andEmployeeStatusNotLike(String value) {
            addCriterion("employee_status not like", value, "employeeStatus");
            return (Criteria) this;
        }

        public Criteria andEmployeeStatusIn(List<String> values) {
            addCriterion("employee_status in", values, "employeeStatus");
            return (Criteria) this;
        }

        public Criteria andEmployeeStatusNotIn(List<String> values) {
            addCriterion("employee_status not in", values, "employeeStatus");
            return (Criteria) this;
        }

        public Criteria andEmployeeStatusBetween(String value1, String value2) {
            addCriterion("employee_status between", value1, value2, "employeeStatus");
            return (Criteria) this;
        }

        public Criteria andEmployeeStatusNotBetween(String value1, String value2) {
            addCriterion("employee_status not between", value1, value2, "employeeStatus");
            return (Criteria) this;
        }

        public Criteria andCreatorIdIsNull() {
            addCriterion("creator_Id is null");
            return (Criteria) this;
        }

        public Criteria andCreatorIdIsNotNull() {
            addCriterion("creator_Id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatorIdEqualTo(Integer value) {
            addCriterion("creator_Id =", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdNotEqualTo(Integer value) {
            addCriterion("creator_Id <>", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdGreaterThan(Integer value) {
            addCriterion("creator_Id >", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("creator_Id >=", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdLessThan(Integer value) {
            addCriterion("creator_Id <", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdLessThanOrEqualTo(Integer value) {
            addCriterion("creator_Id <=", value, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdIn(List<Integer> values) {
            addCriterion("creator_Id in", values, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdNotIn(List<Integer> values) {
            addCriterion("creator_Id not in", values, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdBetween(Integer value1, Integer value2) {
            addCriterion("creator_Id between", value1, value2, "creatorId");
            return (Criteria) this;
        }

        public Criteria andCreatorIdNotBetween(Integer value1, Integer value2) {
            addCriterion("creator_Id not between", value1, value2, "creatorId");
            return (Criteria) this;
        }

        public Criteria andEmployeeAccessGroupIsNull() {
            addCriterion("employee_access_group is null");
            return (Criteria) this;
        }

        public Criteria andEmployeeAccessGroupIsNotNull() {
            addCriterion("employee_access_group is not null");
            return (Criteria) this;
        }

        public Criteria andEmployeeAccessGroupEqualTo(String value) {
            addCriterion("employee_access_group =", value, "employeeAccessGroup");
            return (Criteria) this;
        }

        public Criteria andEmployeeAccessGroupNotEqualTo(String value) {
            addCriterion("employee_access_group <>", value, "employeeAccessGroup");
            return (Criteria) this;
        }

        public Criteria andEmployeeAccessGroupGreaterThan(String value) {
            addCriterion("employee_access_group >", value, "employeeAccessGroup");
            return (Criteria) this;
        }

        public Criteria andEmployeeAccessGroupGreaterThanOrEqualTo(String value) {
            addCriterion("employee_access_group >=", value, "employeeAccessGroup");
            return (Criteria) this;
        }

        public Criteria andEmployeeAccessGroupLessThan(String value) {
            addCriterion("employee_access_group <", value, "employeeAccessGroup");
            return (Criteria) this;
        }

        public Criteria andEmployeeAccessGroupLessThanOrEqualTo(String value) {
            addCriterion("employee_access_group <=", value, "employeeAccessGroup");
            return (Criteria) this;
        }

        public Criteria andEmployeeAccessGroupLike(String value) {
            addCriterion("employee_access_group like", value, "employeeAccessGroup");
            return (Criteria) this;
        }

        public Criteria andEmployeeAccessGroupNotLike(String value) {
            addCriterion("employee_access_group not like", value, "employeeAccessGroup");
            return (Criteria) this;
        }

        public Criteria andEmployeeAccessGroupIn(List<String> values) {
            addCriterion("employee_access_group in", values, "employeeAccessGroup");
            return (Criteria) this;
        }

        public Criteria andEmployeeAccessGroupNotIn(List<String> values) {
            addCriterion("employee_access_group not in", values, "employeeAccessGroup");
            return (Criteria) this;
        }

        public Criteria andEmployeeAccessGroupBetween(String value1, String value2) {
            addCriterion("employee_access_group between", value1, value2, "employeeAccessGroup");
            return (Criteria) this;
        }

        public Criteria andEmployeeAccessGroupNotBetween(String value1, String value2) {
            addCriterion("employee_access_group not between", value1, value2, "employeeAccessGroup");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("comment is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("comment is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("comment =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("comment <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("comment >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("comment >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("comment <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("comment <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("comment like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("comment not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("comment in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("comment not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("comment between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("comment not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andEmployeeNameLikeInsensitive(String value) {
            addCriterion("upper(employee_name) like", value.toUpperCase(), "employeeName");
            return (Criteria) this;
        }

        public Criteria andSexLikeInsensitive(String value) {
            addCriterion("upper(sex) like", value.toUpperCase(), "sex");
            return (Criteria) this;
        }

        public Criteria andIdentifierLikeInsensitive(String value) {
            addCriterion("upper(identifier) like", value.toUpperCase(), "identifier");
            return (Criteria) this;
        }

        public Criteria andEmployeeDutiesLikeInsensitive(String value) {
            addCriterion("upper(employee_duties) like", value.toUpperCase(), "employeeDuties");
            return (Criteria) this;
        }

        public Criteria andWorkGroupLikeInsensitive(String value) {
            addCriterion("upper(work_group) like", value.toUpperCase(), "workGroup");
            return (Criteria) this;
        }

        public Criteria andWorkGroupDutiesLikeInsensitive(String value) {
            addCriterion("upper(work_group_duties) like", value.toUpperCase(), "workGroupDuties");
            return (Criteria) this;
        }

        public Criteria andEmployeeCellPhoneLikeInsensitive(String value) {
            addCriterion("upper(employee_cell_phone) like", value.toUpperCase(), "employeeCellPhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeOfficePhoneLikeInsensitive(String value) {
            addCriterion("upper(employee_office_phone) like", value.toUpperCase(), "employeeOfficePhone");
            return (Criteria) this;
        }

        public Criteria andEmployeeQqLikeInsensitive(String value) {
            addCriterion("upper(employee_QQ) like", value.toUpperCase(), "employeeQq");
            return (Criteria) this;
        }

        public Criteria andEmailLikeInsensitive(String value) {
            addCriterion("upper(email) like", value.toUpperCase(), "email");
            return (Criteria) this;
        }

        public Criteria andFaxLikeInsensitive(String value) {
            addCriterion("upper(fax) like", value.toUpperCase(), "fax");
            return (Criteria) this;
        }

        public Criteria andEmployeeStatusLikeInsensitive(String value) {
            addCriterion("upper(employee_status) like", value.toUpperCase(), "employeeStatus");
            return (Criteria) this;
        }

        public Criteria andEmployeeAccessGroupLikeInsensitive(String value) {
            addCriterion("upper(employee_access_group) like", value.toUpperCase(), "employeeAccessGroup");
            return (Criteria) this;
        }

        public Criteria andCommentLikeInsensitive(String value) {
            addCriterion("upper(comment) like", value.toUpperCase(), "comment");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}